package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 user_task
 * 
 * @author ruoyi
 * @date 2024-11-22
 */
public class UserTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 源文件链接 */
    @Excel(name = "源文件链接")
    private String path;

    /** 任务是否处理 */
    @Excel(name = "任务是否处理")
    private String task;

    /** 失效时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "失效时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expire;

    /** 模特id */
    @Excel(name = "模特id")
    private String aimodel;

    /** 源语言 */
    @Excel(name = "源语言")
    private String sourceLang;

    /** 目标语言 */
    @Excel(name = "目标语言")
    private String lang;

    /** 配音id */
    @Excel(name = "配音id")
    private String wyVoiceParam;

    /** 字体，默认 */
    @Excel(name = "字体，默认")
    private String fontParam;

    /** 字体大小 */
    @Excel(name = "字体大小")
    private String fontSize;

    /** 生成新字幕 */
    @Excel(name = "生成新字幕")
    private String captions;

    /** 保留背景音乐 */
    @Excel(name = "保留背景音乐")
    private String removeBgAudio;

    /** 任务id，与id_works只存在一个 */
    @Excel(name = "任务id，与id_works只存在一个")
    private String idProject;

    /** 任务状态 */
    @Excel(name = "任务状态")
    private String processStatus;

    /** 成品链接 */
    @Excel(name = "成品链接")
    private String translateVideoUrl;

    /** 封面 */
    @Excel(name = "封面")
    private String coverUrl;

    /** 名字 */
    @Excel(name = "名字")
    private String name;

    /** 进度百分比,翻译完成0.8,换脸完成1.0 */
    @Excel(name = "进度百分比,翻译完成0.8,换脸完成1.0")
    private String processProgress;

    /** AI换脸任务id */
    @Excel(name = "AI换脸任务id")
    private String jobid;

    /** 换脸完成url */
    @Excel(name = "换脸完成url")
    private String videoUrl;

    /** 成品同步到七牛云的链接 */
    @Excel(name = "成品同步到七牛云的链接")
    private String asyncQiniu;

    /** 是否同步到七牛 */
    @Excel(name = "是否同步到七牛")
    private String qiniuStart;

    /** 任务组id,与idproject存在1个 */
    @Excel(name = "任务组id,与idproject存在1个")
    private String idWorks;

    /** 消耗量 */
    @Excel(name = "消耗量")
    private String paidPoint;

    /** 模特图片 */
    @Excel(name = "模特图片")
    private String modelImg;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPath(String path) 
    {
        this.path = path;
    }

    public String getPath() 
    {
        return path;
    }
    public void setTask(String task) 
    {
        this.task = task;
    }

    public String getTask() 
    {
        return task;
    }
    public void setExpire(Date expire) 
    {
        this.expire = expire;
    }

    public Date getExpire() 
    {
        return expire;
    }
    public void setAimodel(String aimodel) 
    {
        this.aimodel = aimodel;
    }

    public String getAimodel() 
    {
        return aimodel;
    }
    public void setSourceLang(String sourceLang) 
    {
        this.sourceLang = sourceLang;
    }

    public String getSourceLang() 
    {
        return sourceLang;
    }
    public void setLang(String lang) 
    {
        this.lang = lang;
    }

    public String getLang() 
    {
        return lang;
    }
    public void setWyVoiceParam(String wyVoiceParam) 
    {
        this.wyVoiceParam = wyVoiceParam;
    }

    public String getWyVoiceParam() 
    {
        return wyVoiceParam;
    }
    public void setFontParam(String fontParam) 
    {
        this.fontParam = fontParam;
    }

    public String getFontParam() 
    {
        return fontParam;
    }
    public void setFontSize(String fontSize) 
    {
        this.fontSize = fontSize;
    }

    public String getFontSize() 
    {
        return fontSize;
    }
    public void setCaptions(String captions) 
    {
        this.captions = captions;
    }

    public String getCaptions() 
    {
        return captions;
    }
    public void setRemoveBgAudio(String removeBgAudio) 
    {
        this.removeBgAudio = removeBgAudio;
    }

    public String getRemoveBgAudio() 
    {
        return removeBgAudio;
    }
    public void setIdProject(String idProject) 
    {
        this.idProject = idProject;
    }

    public String getIdProject() 
    {
        return idProject;
    }
    public void setProcessStatus(String processStatus) 
    {
        this.processStatus = processStatus;
    }

    public String getProcessStatus() 
    {
        return processStatus;
    }
    public void setTranslateVideoUrl(String translateVideoUrl) 
    {
        this.translateVideoUrl = translateVideoUrl;
    }

    public String getTranslateVideoUrl() 
    {
        return translateVideoUrl;
    }
    public void setCoverUrl(String coverUrl) 
    {
        this.coverUrl = coverUrl;
    }

    public String getCoverUrl() 
    {
        return coverUrl;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setProcessProgress(String processProgress) 
    {
        this.processProgress = processProgress;
    }

    public String getProcessProgress() 
    {
        return processProgress;
    }
    public void setJobid(String jobid) 
    {
        this.jobid = jobid;
    }

    public String getJobid() 
    {
        return jobid;
    }
    public void setVideoUrl(String videoUrl) 
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl() 
    {
        return videoUrl;
    }
    public void setAsyncQiniu(String asyncQiniu) 
    {
        this.asyncQiniu = asyncQiniu;
    }

    public String getAsyncQiniu() 
    {
        return asyncQiniu;
    }
    public void setQiniuStart(String qiniuStart) 
    {
        this.qiniuStart = qiniuStart;
    }

    public String getQiniuStart() 
    {
        return qiniuStart;
    }
    public void setIdWorks(String idWorks) 
    {
        this.idWorks = idWorks;
    }

    public String getIdWorks() 
    {
        return idWorks;
    }
    public void setPaidPoint(String paidPoint) 
    {
        this.paidPoint = paidPoint;
    }

    public String getPaidPoint() 
    {
        return paidPoint;
    }
    public void setModelImg(String modelImg) 
    {
        this.modelImg = modelImg;
    }

    public String getModelImg() 
    {
        return modelImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("path", getPath())
            .append("task", getTask())
            .append("expire", getExpire())
            .append("aimodel", getAimodel())
            .append("sourceLang", getSourceLang())
            .append("lang", getLang())
            .append("wyVoiceParam", getWyVoiceParam())
            .append("fontParam", getFontParam())
            .append("fontSize", getFontSize())
            .append("captions", getCaptions())
            .append("removeBgAudio", getRemoveBgAudio())
            .append("idProject", getIdProject())
            .append("processStatus", getProcessStatus())
            .append("translateVideoUrl", getTranslateVideoUrl())
            .append("coverUrl", getCoverUrl())
            .append("name", getName())
            .append("processProgress", getProcessProgress())
            .append("jobid", getJobid())
            .append("videoUrl", getVideoUrl())
            .append("asyncQiniu", getAsyncQiniu())
            .append("qiniuStart", getQiniuStart())
            .append("idWorks", getIdWorks())
            .append("createBy", getCreateBy())
            .append("paidPoint", getPaidPoint())
            .append("modelImg", getModelImg())
            .toString();
    }
}
